package com.superjson.showpro.service;

import com.superjson.showpro.base.GenericService;
import com.superjson.showpro.entity.ArticleCatalogUser;
import com.superjson.showpro.entity.User;
import com.superjson.showpro.shared.result.Result;

import javax.servlet.http.HttpServletRequest;

public interface ArticleCatalogUserService extends GenericService<ArticleCatalogUser> {

    Result saveObj(Long articleId, User user, HttpServletRequest request);

    Result<Long> countClick(Long articleId, Long userId);
}